package com.hicorp.segment.mapper;

import com.hicorp.segment.mapper.basic.BasicMapper;
import com.hicorp.segment.pojo.po.UserRoleRelation;

import java.util.List;

/**
 * UserRoleRelationMapper继承基类
 */
public interface UserRoleRelationMapper extends BasicMapper<UserRoleRelation> {
    List<Long> selectRoleIdByUserId(Long userId);

    void deleteByUserId(Long userId);
}